github.com/gotd/td/mtproto.Conn.rpc (field)

19 uses

	github.com/gotd/td/mtproto (current package)
		bind.go#L136: 	err = c.rpc.Do(ctx, call)
		bind.go#L142: 		err = c.rpc.Do(ctx, call)
		conn.go#L57: 	rpc           *rpc.Engine
		conn.go#L188: 		rpc:               opt.engine,
		conn.go#L210: 	if conn.rpc == nil {
		conn.go#L211: 		conn.rpc = rpc.New(conn.writeContentMessage, rpc.Options{
		conn.go#L229: 	c.rpc.ForceClose()
		handle_ack.go#L20: 	c.rpc.NotifyAcks(ack.MsgIDs)
		handle_bad_msg.go#L74: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode})
		handle_bad_msg.go#L82: 		c.rpc.NotifyError(bad.BadMsgID, &badMessageError{Code: bad.ErrorCode, NewSalt: bad.NewServerSalt})
		handle_result.go#L67: 			c.rpc.NotifyError(res.RequestMessageID,
		handle_result.go#L72: 		c.rpc.NotifyError(res.RequestMessageID, tgerr.New(rpcErr.ErrorCode, rpcErr.ErrorMessage))
		handle_result.go#L80: 	return c.rpc.NotifyResult(res.RequestMessageID, b)
		handle_session_created.go#L44: 	if c.rpc != nil {
		handle_session_created.go#L45: 		c.rpc.NotifyErrorBefore(s.FirstMsgID, errSessionReset)
		rpc.go#L104: 	if err := c.rpc.Do(ctx, req); err != nil {
		rpc.go#L115: 			return c.rpc.Do(ctx, req)
		session.go#L150: 	if c.rpc != nil {
		session.go#L151: 		c.rpc.NotifyErrorAll(errSessionReset)